﻿<CodeSnippetTabbed DocLink="https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxPopup#header">
    <CodeSnippetTabPage Text="Razor">@(@"<div class=""target-container"" @onclick=""@(() => PopupVisible = true)""></div>
<DxPopup CssClass=""custom-popup""
        @bind-Visible=""@PopupVisible"">
    <HeaderTemplate>
        <div class=""custom-header bg-primary text-white w-100"">
            <span class=""demo-icon-info bg-white""></span>
            Information
            <a class=""close-button oi oi-x text-white"" href=""javascript:;"" aria-hidden=""true""
               role=""button"" aria-label=""Close popup"" @onclick=""@(() => PopupVisible = false)""></a>
        </div>
    </HeaderTemplate>
    <Content>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet metus vel nisi blandit tincidunt vel efficitur purus.
            Nunc nec turpis tempus, accumsan orci auctor, imperdiet mauris. Fusce id purus magna.</p>
    </Content>
</DxPopup>


@code {
    bool PopupVisible { get; set; }
}")</CodeSnippetTabPage>
</CodeSnippetTabbed>
